package top.yxqz.ssm.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import top.yxqz.ssm.pojo.SSMEmp;

import java.util.List;

/**
 * @author: 余小小
 * @date: 2023/5/26
 * @description：员工数据层Mapper接口
 */
public interface EmpMapper {
    List<SSMEmp> getAllEmp();

    @Delete("delete from t_ssm_emp where emp_id = #{empID};")
    void delEmp(@Param("empID") Integer empId);
}
